import request from '@/utils/request'

export function getAuthList(listQuery) {
  return request.get('/user/getAllUserRoles', { params: listQuery })
}

export function getAllRoles() {
  return request({
    url: '/user/getAllRoles',
    method: 'get'
  })
}

export function updateUserRole(userRole) {
  return request.put('/user/updateUserRole', userRole)
}

